<?php
include "connection.php";$result=mysql_query("SELECT * FROM pk14_dering_location");
while ($row = mysql_fetch_object($result)) 
		{
			
			$arr[]=array("district"=>$row->kabupaten_kota,"sub_district"=>$row->kecamatan,"desa"=>$row->desa_kelurahan);
		}
		$response=array("items"=>$arr);
		$final=array("response"=>$response);
		echo json_encode($final);
?>